package com.itheima_03;

public class StudentDemo {
    public static void main(String[] args) {
        Student s = new Student("xz", 20);
        System.out.println(s.getName() + ',' + s.getAge());

        s.setName("xz");
        s.setAge(-30);

        System.out.println(s.getName() + ',' + s.getAge());

        s.study();
        s.doHomework();
        s.show();
    }
}
